package data

import (
	"context"
	"fmt"
	"xiaofei-demo/app/service/internal/biz"
)

type userRepo struct {
}

//
type User struct {
	Id int
	Name string
}


func NewUserRepo() biz.UserRepo {
	return &userRepo{}
}

func (r *userRepo) CreateGreeter(ctx context.Context, g *biz.Greeter) error {
	fmt.Println("我做了创建")
	return nil
}

func (r *userRepo) UpdateGreeter(ctx context.Context, g *biz.Greeter) error {
	fmt.Println("我做了更新")
	return nil
}
